package com.adaptor.cpu;

public abstract class CPU {
    String brand;
    String model;
    public CPU(String brand, String model)
    {
        this.brand = brand;
        this.model = model;
    }
    public String getName()
    {
        return brand + " " + model;
    }
    public void getBrand(String brand)
    {
        this.brand = brand;
    }
    public abstract boolean checkRejectionReaction(String brand);
}
